from django.urls import path, include
from django.views.decorators.csrf import csrf_exempt
from webevent import views

urlpatterns = [
  path('webevent/create/', csrf_exempt(views.WebEventCreateViewSet.as_view({'post': 'create'}))),
  path('webevent/tea/list', csrf_exempt(views.WebEventTeaListViewSet.as_view({'get': 'list'})))
]